package cu.tedu.egmvc2.mapper;

import cu.tedu.egmvc2.pojo.dto.AddressDTO;
import cu.tedu.egmvc2.pojo.entity.Address;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

import java.util.List;


public interface AddressMapper {

    int insert(AddressDTO addressDTO);


    List<Address> select();

    int delete(int id);

    int update(Address address);
}
